package jjoms.model.qna;



public class QnaVO {
	private int qnaNo;
	private String qnaTitle;
	private String qnaWriter;
	private String qnaContent;
	private String qnaDate;
	private int viewCount;
	private int ref;// 원 게시물 번호 , 글묶음 
	private int restep;// ref 글묶음내의 글순서 
	private int relevel;// 답변의 단계 
	public QnaVO() {
		super();
	}
	
	public QnaVO(int qnaNo, String qnaTitle, String qnaWriter,
			String qnaContent, String qnaDate, int viewCount, int ref,
			int restep, int relevel) {
		super();
		this.qnaNo = qnaNo;
		this.qnaTitle = qnaTitle;
		this.qnaWriter = qnaWriter;
		this.qnaContent = qnaContent;
		this.qnaDate = qnaDate;
		this.viewCount = viewCount;
		this.ref = ref;
		this.restep = restep;
		this.relevel = relevel;
	}



	public int getQnaNo() {
		return qnaNo;
	}
	public void setQnaNo(int qnaNo) {
		this.qnaNo = qnaNo;
	}
	public String getQnaTitle() {
		return qnaTitle;
	}
	public void setQnaTitle(String qnaTitle) {
		this.qnaTitle = qnaTitle;
	}
	public String getQnaWriter() {
		return qnaWriter;
	}
	public void setQnaWriter(String qnaWriter) {
		this.qnaWriter = qnaWriter;
	}
	public String getQnaContent() {
		return qnaContent;
	}
	public void setQnaContent(String qnaContent) {
		this.qnaContent = qnaContent;
	}
	public String getQnaDate() {
		return qnaDate;
	}
	public void setQnaDate(String qnaDate) {
		this.qnaDate = qnaDate;
	}
	
	public int getViewCount() {
		return viewCount;
	}

	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}
	

	public int getRef() {
		return ref;
	}



	public void setRef(int ref) {
		this.ref = ref;
	}



	public int getRestep() {
		return restep;
	}



	public void setRestep(int restep) {
		this.restep = restep;
	}



	public int getRelevel() {
		return relevel;
	}



	public void setRelevel(int relevel) {
		this.relevel = relevel;
	}



	@Override
	public String toString() {
		return "QnaVO [qnaNo=" + qnaNo + ", qnaTitle=" + qnaTitle
				+ ", qnaWriter=" + qnaWriter + ", qnaContent=" + qnaContent
				+ ", qnaDate=" + qnaDate + ", viewCount=" + viewCount
				+ ", ref=" + ref + ", restep=" + restep + ", relevel="
				+ relevel + "]";
	}



	

	
}
